package com.lantosec.hmrp.modules.system.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lantosec.hmrp.core.kit.PageVO;
import com.lantosec.hmrp.modules.system.entity.SysLog;
import com.lantosec.hmrp.modules.system.mapper.SysLogMapper;
import com.lantosec.hmrp.modules.system.service.ISysLogService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lantosec.hmrp.modules.system.vo.SysLogVO;
import org.springframework.stereotype.Service;
import org.springframework.context.annotation.Primary;
import lombok.extern.log4j.Log4j2;

/**
 * <p>
 * 系统日志表 服务实现类
 * </p>
 *
 * @author AutoCode
 * @since 2020-07-03
 */
@Service
@Primary
@Log4j2
public class SysLogServiceImpl extends ServiceImpl<SysLogMapper, SysLog> implements ISysLogService {

    @Override
    public Page<SysLogVO> queryListByCondition(PageVO<SysLogVO> page, SysLogVO condition) {
        return baseMapper.queryListByCondition(page, condition);
    }
}
